package com.atguigu.statistics.cline;


import com.atguigu.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient("service-ucenter")
public interface MemberCline {

    //获取每天注册人数,远程调用
    @GetMapping("/ucenter/member/getNumByDay/{day}")
    public R getNumByDay(@PathVariable("day") String day);

}
